package com.cicigodd.brick.plug.upload.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;


/**
 * 文件管理
 *
 * @author cicigodd
 * @date 2022/09/23 08:42:00
 */
@Data
public class SysFileRequest {

    @NotBlank(message = "fileBucket不能为空")
    @ApiModelProperty(value = "文件仓库（文件夹）", required = true)
    private String fileBucket;

    @NotBlank(message = "fileObjectName不能为空")
    @ApiModelProperty(value = "存储到bucket中的名称，主键id+.后缀", required = true)
    private String fileObjectName;


}